package com.hao.desing.single;

public class LazMan {
    public LazMan(){

    }
    private volatile static LazMan lazMan;
    public LazMan getLazMan(){
        if(lazMan==null){
            synchronized (LazMan.class){
                if(lazMan==null){
                    lazMan=new LazMan();
                }
            }
        }

        return  new LazMan();
    }
}
